import { createApp } from "vue";

// 引入element依赖
import ElementPlus from "element-plus";
// 映入Element的样式
import "element-plus/lib/theme-chalk/index.css";

import App from "./App.vue";
import router from "./router";

import axios from "./api/index";

import store from "./store/store";

window.store = store;
window.axios = axios;

const app = createApp(App);
app.use(router);
app.use(ElementPlus); // 挂载到Vue
app.mount("#app");
